import turtle
# 设置画布和画笔
screen = turtle.Screen()
screen.bgcolor("white")
pen = turtle.Turtle()
pen.speed(0)  # 设置最快的绘画速度
pen.color("red", "yellow")
# 开始填充颜色
pen.begin_fill()
# 绘制太阳花
for i in range(50):
    pen.forward(200)
    pen.left(170)
# 结束填充颜色
pen.end_fill()
# 隐藏画笔
pen.hideturtle()
# 保持窗口打开
turtle.done()